package day010.exds.construct.memory;


public class Student extends Person {
    private double scores;

    public Student() {
        super("黑马", 18);
    }

    public Student(String name,int age,double scores){
        super(name,age);
        this.scores=scores;
    }

    public double getScores() {
        return scores;
    }

    public void setScores(double scores) {
        this.scores = scores;
    }
}
